package com.zhongyou.bean;

import java.math.BigDecimal;

public class CartGoods {
    /**
     * select c.num,g.title,g.price,g.stock,g.sale_count saleCount,g.express_fee expressFee
     * ,c.goods_rule_price_id goodsRulePriceId,c.goods_id goodsId
     */
    private int id;
    private int num;
    private String title;
    private String goodsRules;
    private Integer points;

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public int getStock() {
        return stock;
    }

    public void setStock(int stock) {
        this.stock = stock;
    }

    public int getSaleCount() {
        return saleCount;
    }

    public void setSaleCount(int saleCount) {
        this.saleCount = saleCount;
    }

    public BigDecimal getExpressFee() {
        return expressFee;
    }

    public void setExpressFee(BigDecimal expressFee) {
        this.expressFee = expressFee;
    }


    public int getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(int goodsId) {
        this.goodsId = goodsId;
    }

    private BigDecimal price;
    private int stock;
    private int saleCount;
    private BigDecimal expressFee;
    private int goodsId;
    private String goodsPriceToken;

    public String getGoodsRules() {
        return goodsRules;
    }

    public void setGoodsRules(String goodsRules) {
        this.goodsRules = goodsRules;
    }

    public Integer getPoints() {
        return points;
    }

    public void setPoints(Integer points) {
        this.points = points;
    }

    public String getGoodsPriceToken() {
        return goodsPriceToken;
    }

    public void setGoodsPriceToken(String goodsPriceToken) {
        this.goodsPriceToken = goodsPriceToken;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }
}
